package com.world.business.weapon.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 装备变更记录
 * </p>
 *
 * @author 邓驴
 * @since 2023-09-05
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("weapon_change_log")
@ApiModel(value = "WeaponChangeLog对象", description = "装备变更记录")
public class WeaponChangeLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("武器Id")
    private Long weaponId;

    @ApiModelProperty("变更内容")
    private String content;

    @ApiModelProperty("时间")
    @TableField(value = "`time`")
    private LocalDateTime time;
}
